package com.leyou.user.api;

import com.leyou.user.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName UserApi
 * @Date 2019/2/25 19:34
 */
public interface UserApi {

    @GetMapping("/query")
    User queryUserByNameAndPwd(
            @RequestParam("username") String username,
            @RequestParam("password") String password
    );
}
